package com.xs.ctl;

public class comAttr {
	
	protected final String USART_WordLength_8b = "8";
	protected final String USART_WordLength_9b = "9";
	
	protected final int USART_StopBits_0_5 = 0;
	protected final int USART_StopBits_1 = 1;
	protected final int USART_StopBits_1_5 = 3;
	protected final int USART_StopBits_2 = 2;
	
	protected final int USART_Parity_No = 0;
	protected final int USART_Parity_Even = 1;
	protected final int USART_Parity_Odd = 2;

	protected final int USART_HardwareFlowControl_None = 0;
	protected final int USART_HardwareFlowControl_RTS = 1;
	protected final int USART_HardwareFlowControl_CTS = 2;
	protected final int USART_HardwareFlowControl_RTS_CTS = 3;
	
	String strBaudrate = "115200",
		   strDatabit = USART_WordLength_8b;
	
	int iComNo = 1,
		iStopBit = USART_StopBits_1,
		iParity = USART_Parity_No,
		iFlowCtl = USART_HardwareFlowControl_None;
	
	public comAttr(){

	}
}
